package com.navcoo.yidaaddproapi.service;

import com.navcoo.yidaaddproapi.response.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * 文件服务
 *
 * @author Navcoo
 * @date 2024-03-28
 */
public interface FileService {
    Result<String> upload(MultipartFile file) throws IOException, NoSuchAlgorithmException, InvalidKeyException;
}
